config BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
	def_bool y
	depends on !BR2_arc && !BR2_xtensa

if BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT

config BR2_PACKAGE_LIBNSPR
	bool "libnspr"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_STATIC_LIBS
	help
	  NSPR is the Netscape Portable Runtime library which provides
	  a platform-neutral API for system level and libc like
	  functions. The library is used by the Mozilla project as well
	  as others.

	  http://www.mozilla.org/projects/nspr/

comment "libnspr needs a toolchain w/ threads, dynamic library"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

endif
